package com.sdcx.agrobank.util;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

/*
 *@Author:田恒宇
 *@Date: 2020-05-26
 *@Time:10:02
 *@Description:退出登录接收器
 */
public class LoginOutBroadcastReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        ActivityCollector.finishAll();  // 销毁所有活动
       // Intent intent1 = new Intent(context, LoginActivity.class);
        //context.startActivity(intent1);
    }
}
